.modal-container {
    transition: all 1s;
}

.modal-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
}

.modal-mask .modal-content {
    width: 520px;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    transition: all 1s;
}

.modal-content .close {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 56px;
    height: 56px;
    border: none;
    outline: 0;
    background-color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.modal-content .header {
    border-bottom: 1px solid #ccc;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 16px;
    font-weight: 700;
}

.modal-content .body {
    padding: 24px;
    box-sizing: border-box;
}

.modal-content .footer {
    border-top: 1px solid #ccc;
    padding: 10px 16px;
    text-align: right;
}

.modal-content .footer button {
    outline: none;
    border: none;
    height: 35px;
    padding: 4px 25px;
    margin: 0 5px;
    border-radius: 2px;
    color: #000000d9;
    border: 1px solid #ccc;
    background: #fff;
    transition: all .5s;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.modal-content .footer .cancel:hover {
    color: #40a9ff;
    border-color: #40a9ff;
}

.modal-content .footer .confirm {
    background: #1890ff;
    color: #fff;
}

.modal-content .footer .confirm:hover {
    background: #4ca5f8;
}